package io.qar.addressBook.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.qar.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import io.qar.commons.mybatis.dto.CreateAndUpdatedDTO;

import java.io.Serializable;

/**
* 用户地址簿
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-06-11
*/
@Data
@ApiModel(value = "用户地址簿")
public class addressBookDTO extends CreateAndUpdatedDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地址ID")
    private Long id;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "收件人姓名")
    private String consignee;
    @ApiModelProperty(value = "性别")
    private Object sex;
    @ApiModelProperty(value = "联系电话")
    private String phone;
    @ApiModelProperty(value = "省份编码")
    private String provinceCode;
    @ApiModelProperty(value = "省份名称")
    private String provinceName;
    @ApiModelProperty(value = "城市编码")
    private String cityCode;
    @ApiModelProperty(value = "城市名称")
    private String cityName;
    @ApiModelProperty(value = "区县编码")
    private String districtCode;
    @ApiModelProperty(value = "区县名称")
    private String districtName;
    @ApiModelProperty(value = "详细地址")
    private String detail;
    @ApiModelProperty(value = "逻辑删除：1-已删除，0-未删除")
    private Boolean deleted;

}